﻿namespace XNAGameEngine.Input
{
    /// <summary>
    /// Interface the defines how objects can interact with the ManagerMouseEvents object.
    /// </summary>
    public interface IManagerMouseEvents
    {
        /// <summary>
        /// <para>Register or unregister an object from receiving mouse event notifications.</para>
        /// <para>The object passed in must implement the interface IMouseEventCallbacks or
        /// an exception will be thrown</para>
        /// </summary>
        /// <param name="listeningState">true to register the object, false to unregister</param>
        /// <param name="listener">the object to register or unregister</param>
        void ToggleMouseEventListener(bool listeningState, object listener);
    }
}
